from rest_framework.routers import SimpleRouter, DefaultRouter
from . import views
from django.urls import path


urlpatterns = [
    path('implant', views.implant.as_view()),
    path('analysis', views.analysis.as_view())]

# # 1. 实例化路由类
# router = DefaultRouter()
#
# # 3. 把生成的路由列表和urlpatterns进行拼接
# urlpatterns += router.urls
